<!--课程详情-->
<template>
  <div class="assessment-edit-plan-container">
    <div class="my-form-container" style="height: 100%">
      <el-row class="my-form-item">
        <el-col :span="12">
          <div class="my-form-item-label">开课教研室</div>
          <div class="my-form-item-value">{{ tablelist.mc }}</div>
        </el-col>
        <el-col :span="12">
          <div class="my-form-item-label">课程编号</div>
          <div class="my-form-item-value">{{ tablelist.bb }}</div>
        </el-col>
      </el-row>
      <el-row class="my-form-item">
        <el-col :span="12">
          <div class="my-form-item-label">课程名称</div>
          <div class="my-form-item-value">{{ tablelist.bb }}</div>
        </el-col>
        <el-col :span="12">
          <div class="my-form-item-label">课程简称</div>
          <div class="my-form-item-value">{{ tablelist.bk }}</div>
        </el-col>
      </el-row>
      <el-row class="my-form-item">
        <el-col :span="12">
          <div class="my-form-item-label">课程英文名称</div>
          <div class="my-form-item-value">{{ tablelist.bk }}</div>
        </el-col>
        <el-col :span="12">
          <div class="my-form-item-label">学 分</div>
          <div class="my-form-item-value">{{ tablelist.bk }}</div>
        </el-col>
      </el-row>
      <el-row class="my-form-item">
        <el-col :span="12">
          <div class="my-form-item-label">讲授学时</div>
          <div class="my-form-item-value">{{ tablelist.bk }}</div>
        </el-col>
        <el-col :span="12">
          <div class="my-form-item-label">实践学时</div>
          <div class="my-form-item-value">{{ tablelist.bk }}</div>
        </el-col>
      </el-row>
      <el-row class="my-form-item">
        <el-col :span="12">
          <div class="my-form-item-label">总 学 时</div>
          <div class="my-form-item-value">{{ tablelist.bk }}</div>
        </el-col>
        <el-col :span="12">
          <div class="my-form-item-label">学科分类</div>
          <div class="my-form-item-value">{{ tablelist.bk }}</div>
        </el-col>
      </el-row>
      <el-row class="my-form-item">
        <el-col :span="12">
          <div class="my-form-item-label">适用培养层次</div>
          <div class="my-form-item-value">{{ tablelist.bk }}</div>
        </el-col>
        <el-col :span="12">
          <div class="my-form-item-label">课程负责人</div>
          <div class="my-form-item-value">{{ tablelist.bk }}</div>
        </el-col>
      </el-row>
      <el-row class="my-form-item">
        <el-col :span="12">
          <div class="my-form-item-label">课程评价</div>
          <div class="my-form-item-value">{{ tablelist.bk }}</div>
        </el-col>
        <el-col :span="12">
          <div class="my-form-item-label">是否为主干课</div>
          <div class="my-form-item-value">{{ tablelist.bk }}</div>
        </el-col>
      </el-row>
      <el-row class="my-form-item">
        <el-col :span="12">
          <div class="my-form-item-label">课下作业成绩所占比例</div>
          <div class="my-form-item-value">{{ tablelist.bk }}</div>
        </el-col>
        <el-col :span="12">
          <div class="my-form-item-label">课堂测试成绩所占比例</div>
          <div class="my-form-item-value">{{ tablelist.bk }}</div>
        </el-col>
      </el-row>
      <el-row class="my-form-item">
        <el-col :span="12">
          <div class="my-form-item-label">期中考试成绩所占比例</div>
          <div class="my-form-item-value">{{ tablelist.bk }}</div>
        </el-col>
        <el-col :span="12">
          <div class="my-form-item-label">课中考核成绩所占比例</div>
          <div class="my-form-item-value">{{ tablelist.bk }}</div>
        </el-col>
      </el-row>
      <el-row class="my-form-item">
        <el-col :span="24">
          <div class="my-form-item-label">考试成绩一票否决制</div>
          <div class="my-form-item-value">
            <el-checkbox v-model="checked1">是</el-checkbox>
            <el-checkbox v-model="checked2">否</el-checkbox>
          </div>
        </el-col>
      </el-row>
      <el-row class="my-form-item">
        <el-col :span="24">
          <div class="my-form-item-label">考试成绩一票否决制</div>
          <div class="my-form-item-value">{{ tablelist.bk }}</div>
        </el-col>
      </el-row>
      <el-row class="my-form-item">
        <el-col :span="24" style="display: flex; align-items: center">
          <div class="my-form-item-label">课程标准</div>
          <el-input v-model="input2"></el-input>
          <button
            @click="getFile($event)"
            style="
              width: 80px;
              height: 28px;
              background: #ebe6ff;
              border: 1px solid #5230e9;
              border-radius: 4px;
              margin-left: 40px;
              color: #5230e9;
            "
          >
            浏览
          </button>
        </el-col>
      </el-row>
      <el-row class="my-form-item">
        <el-col :span="24" style="display: flex; align-items: center">
          <div class="my-form-item-label">先修课程</div>
          <el-input v-model="input3"></el-input>
          <button
            @click="getFile($event)"
            style="
              width: 100px;
              height: 28px;
              background: #f1fff8;
              border: 1px solid #02c86c;
              border-radius: 4px;
              margin-left: 40px;
              color: #02c86c;
            "
          >
            <img src="../../../assets/assessment/删除.png" class="img" />
            课程设置
          </button>
          <button
            @click="getFile($event)"
            style="
              width: 100px;
              height: 28px;
              background: #ebe6ff;
              border: 1px solid #5230e9;
              border-radius: 4px;
              margin-left: 40px;
              color: #5230e9;
            "
          >
            <img src="../../../assets/assessment/删除.png" class="img" />
            清除课程
          </button>
        </el-col>
      </el-row>
      <el-row class="my-form-item" style="height: 100px">
        <el-col :span="24">
          <div class="my-form-item-label">课程简介</div>
          <el-input
            v-model="tablelist.sm"
            placeholder="请输入"
            class="zyjs"
          ></el-input>
        </el-col>
      </el-row>
      <el-row class="my-form-item" style="height: 100px">
        <el-col :span="24">
          <div class="my-form-item-label">说明</div>
          <el-input
            v-model="tablelist.sm"
            placeholder="请输入"
            class="zyjs"
          ></el-input>
        </el-col>
      </el-row>
    </div>
    <div class="button-group">
      <div class="" @click="getsubmit('保存')">保存</div>
      <div class="" @click="getsubmit('取消')">取消</div>
    </div>



    <!-- 添加获奖课程 -->
    <el-dialog
      title="添加获奖课程"
      :visible.sync="showManualEntryDialog3"
      width="50%"
      class="manual-entry-container"
    >
      <div class="assessment-edit-plan-container">
        <div class="my-form-container" style="width: 100%; height: auto">
          <el-row class="my-form-item">
            <el-col :span="12">
              <div class="my-form-item-label">课程编号【获奖课程】</div>
              <div class="my-form-item-value" style="display: flex">
                <el-input v-model="kcbh"></el-input>
                <span
                  style="
                    width: 120px;
                    height: 40px;
                    line-height: 40px;
                    margin-left: 10px;
                    background: #fef1e8;
                    border: 1px solid #f86900;
                    opacity: 1;
                    border-radius: 6px;
                    color: #f86900;
                    margin-top: 10px;
                  "
                >
                  <img
                    src="../../../assets/assessment/删除.png"
                    class="img"
                  />添加</span
                >
              </div>
            </el-col>
          </el-row>
          <el-row class="my-form-item">
            <el-col :span="12">
              <div class="my-form-item-label">获奖名称</div>
              <div class="my-form-item-value">
                <el-input v-model="hjmc"></el-input>
              </div>
            </el-col>
          </el-row>
          <el-row class="my-form-item">
            <el-col :span="12">
              <div class="my-form-item-label">获奖等级</div>
              <div class="my-form-item-value">
                <el-input v-model="hjdj"></el-input>
              </div>
            </el-col>
          </el-row>
          <el-row class="my-form-item">
            <el-col :span="12">
              <div class="my-form-item-label">获奖年份</div>
              <el-select
                v-model="hjnf"
                placeholder="请选择"
                style="margin-left: 30px; margin-top: 10px"
              >
                <el-option
                  v-for="item in hjnfList"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </el-select>
            </el-col>
          </el-row>
        </div>
        <span
          slot="footer"
          class="dialog-footer"
          style="width: 200px; margin: 0 auto; display: block"
        >
          <button
            @click="pjByIdGuide"
            style="
              width: 90px;
              height: 30px;
              border: 1px solid #f3b815;
              border-radius: 6px;
              color: #f3b815;
            "
          >
            保存
          </button>
          <button
            @click="pjByIdGuide2"
            style="
              margin-left: 20px;
              width: 90px;
              height: 30px;
              border: 1px solid #ff3819;
              border-radius: 6px;
              color: #ff3819;
            "
          >
            取消
          </button>
        </span>
      </div>
    </el-dialog>

    <!-- 课程负责人 -->
    <el-dialog
      title="添加获奖课程"
      :visible.sync="showManualEntryDialog4"
      width="50%"
      class="manual-entry-container"
    >
      <div class="body">
        <div style="display: flex">
          <div style="color: #004ca7; margin-left: 100px">课程负责人:</div>
          <el-input
            v-model="kcfzr"
            placeholder="关键字搜索"
            style="width: 200px; margin-left: 20px"
          ></el-input>
          <button
            style="
              width: 76px;
              height: 40px;
              background: #f1f8fe;
              border: 1px solid #51aef6;
              opacity: 1;
              border-radius: 6px;
              color: #51aef6;
              margin-left: 20px;
            "
          >
            <img src="../../../assets/assessment/icon-search.png" class="img" />
            查询
          </button>
        </div>
        <div style="display: flex">
          <div style="color: #fd3819; margin-left: 100px">已选人员：</div>
          <el-input
            v-model="kcfzr"
            style="width: 200px; margin-left: 20px"
          ></el-input>
        </div>
        <span
          slot="footer"
          class="dialog-footer"
          style="width: 200px; margin: 0 auto; display: block"
        >
          <button
            @click="pjByIdGuide"
            style="
              width: 90px;
              height: 30px;
              border: 1px solid #f3b815;
              border-radius: 6px;
              color: #f3b815;
            "
          >
            确定
          </button>
        </span>
      </div>
    </el-dialog>

    <!-- 专业必修课排序 -->

    <el-dialog
      title="课程组成员"
      :visible.sync="showManualEntryDialog5"
      width="50%"
      class="ts"
    >
      <div>
        <div style="color: #004ca7">课程组成员列表:</div>
        <transfer
          :rightData="rightData"
          @transfer="handleTransfer"
          @handleSort="handleSort"
        >
          <button>添加</button>
        </transfer>
        <div style="color: #fd3819">注:第一人为本课程负责人</div>
      </div>
      <div class="button-group">
        <div class="" @click="getsubmit('保存')">保存</div>
        <div class="" @click="getsubmit('取消')">取消</div>
      </div>
    </el-dialog>

    <!-- 选择教员 -->
    <el-dialog
      title="选择教员"
      :visible.sync="showManualEntryDialog6"
      width="50%"
      class="ts"
    >
      <div>
        <div style="display: flex; align-item: center; height: 40px">
          <el-radio v-model="radio" label="1" style="line-height: 40px"
            >全院范围</el-radio
          >
          <el-radio v-model="radio" label="2" style="line-height: 40px"
            >所选范围</el-radio
          >
          <div style="width: 100px; line-height: 40px">按姓名:</div>
          <el-input v-model="input"></el-input>
          <button
            style="
              width: 150px;
              height: 40px;
              background: #f1f8fe;
              border: 1px solid #51aef6;
              opacity: 1;
              border-radius: 6px;
              color: #51aef6;
              margin-left: 20px;
            "
          >
            <img src="../../../assets/assessment/icon-search.png" class="img" />
            查询
          </button>
        </div>
        <div style="display: flex">
          <div style="width: 25%">
            <el-tree
              :data="data"
              :props="defaultProps"
              @node-click="handleNodeClick"
            ></el-tree>
          </div>
          <div>
            <div>
              <div style="display: flex; width: 100%">
                <div class="title1"></div>
                <span class="span1">可选的专业列表（50个）</span>
                <div class="title2"></div>
                <span class="span2">已选的专业列表（10个）</span>
              </div>
              <div style="display: flex; height: auto">
                <el-table
                  :data="tableData1"
                  border
                  style="width: 30%; margin-right: 10px; color: #004ca7"
                  class="table-data"
                  row-class-name="row-class"
                  cell-class-name="cell-class"
                  header-row-class-name="header-row-class"
                  header-cell-class-name="header-cell-class"
                >
                  <el-table-column
                    type="selection"
                    width="55"
                  ></el-table-column>
                  <el-table-column prop="zydm" label="姓名" align="center">
                  </el-table-column>
                  <el-table-column prop="zydm" label="教研室" align="center">
                  </el-table-column>
                </el-table>
                <img
                  src="@/assets/assessment/enjiantou.png"
                  @click="tj"
                  style="wifth: 100px; height: 100px"
                />
                <el-table
                  :data="tableData2"
                  border
                  style="width: 30%; margin-left: 10px; color: #004ca7"
                  class="table-data"
                  row-class-name="row-class"
                  cell-class-name="cell-class"
                  header-row-class-name="header-row-class"
                  header-cell-class-name="header-cell-class"
                >
                  <el-table-column prop="zydm" label="姓名" align="center">
                  </el-table-column>
                  <el-table-column prop="zydm" label="教研室" align="center">
                  </el-table-column>
                  <el-table-column prop="delete" label="操作" align="center">
                    <template slot-scope="scope">
                      <button
                        @click="pjByIdGuide"
                        style="
                          margin-left: 20px;
                          width: 90px;
                          height: 30px;
                          border: 1px solid #ff3819;
                          border-radius: 6px;
                          color: #ff3819;
                          background: #ffefef;
                        "
                      >
                        <img
                          src="../../../assets/assessment/删除.png"
                          style="
                            width: 17px;
                            height: 17px;
                            background-size: 100% 100%;
                            background-repeat: no-repeat;
                          "
                        />
                        取消
                      </button>
                    </template>
                  </el-table-column>
                </el-table>
              </div>
            </div>
          </div>
        </div>
      </div>

      <div class="button-group">
        <div class="" @click="getsubmit('确定')">确定</div>
        <div class="" @click="getsubmit('取消')">取消</div>
      </div>
    </el-dialog>
  </div>
</template>

<script>
import Transfer from "../../../components/transfer/Transfer.vue";
export default {
  name: "index",
  components: {
    Transfer,
  },
  data() {
    return {
      showManualEntryDialog2: false,
      showManualEntryDialog3: false,
      showManualEntryDialog4: false,
      showManualEntryDialog5: false,
      showManualEntryDialog6: true,
      rightData: [
        { name: "专业基础", id: 1 },
        { name: "专业方向", id: 2 },
        { name: "专业背景", id: 3 },
        { name: "科学文化", id: 3 },
      ],
      data: [
        {
          label: "基础教学系",
          children: [
            {
              label: "203教研室",
            },
            { label: "101教研室" },
          ],
        },
        {
          label: "英语系",
          children: [
            {
              label: "203教研室",
            },
            { label: "101教研室" },
          ],
        },
      ],
      tablelist: {
        mc: "2020春英语",
        bb: "2020春英语",
        syzy: "",
        pyfafl: "",
        edzxf: "90",
        bxkedxf: "90",
        xxkedxf: "90",
        zxkedxf: "90",
        jzkedxf: "90",
        sjjxkedxf: "90",
        jyxledxf: "90",
        sm: "123123",
      },
      syzyList: [
        {
          value: "123",
          label: "123",
        },
      ],
      kcflList: [
        {
          value: "分类一",
          label: "分类一",
        },
      ],
    };
  },
  mounted() {
    // this.getdetail();
    // this.getCreateDId(this.tablelist)
  },
  methods: {
    pjByIdGuide() {},
    getFile(event) {
      let file = event.target.files;
      this.tablelist.fileName = file[0].name;
      console.log(file[0].name);
      // this.fileName=file
      let form = new FormData();
      let id = this.tablelist.id;
      form.append("file", file[0]);
      form.append("id", id);
      let el = this;
      return new Promise(() => {
        getUpload(form).then((res) => {
          if (res.data.code === 200) {
            this.getdetail();
            el.$message({
              showClose: true,
              message: "上传成功",
              type: "success",
            });
          } else {
            el.$message({
              showClose: true,
              message: "上传失败，请重新上传",
              type: "error",
            });
          }
        });
      });
    },
    handleTransfer(type, data, callback) {
      if (type == "left") {
        this.rightData = this.rightData.concat(this.leftData[data]);
      } else {
        this.leftData = this.leftData.concat(this.rightData[data]);
      }
      this[type + "Data"].splice(data, 1);
      callback(type);
    },
    handleSort(type, sortType, data, callback) {
      if (!sortType || sortType == "right") {
        if (type == "up") {
          this.rightData = this.swapItems(this.rightData, data[1], data[1] - 1);
          callback(sortType, [data[0], data[1] - 1]);
        } else {
          this.rightData = this.swapItems(this.rightData, data[1], data[1] + 1);
          callback(sortType, [data[0], data[1] + 1]);
        }
      } else if (sortType == "left") {
        if (type == "up") {
          this.leftData = this.swapItems(this.leftData, data[0], data[0] - 1);
          callback(sortType, [data[0] - 1, data[1]]);
        } else {
          this.leftData = this.swapItems(this.leftData, data[0], data[0] + 1);
          callback(sortType, [data[0] + 1, data[1]]);
        }
      } else if (sortType == "both") {
        if (type == "up") {
          data[0] == 0
            ? ""
            : (this.leftData = this.swapItems(
                this.leftData,
                data[0],
                data[0] - 1
              ));
          data[1] == 0
            ? ""
            : (this.rightData = this.swapItems(
                this.rightData,
                data[1],
                data[1] - 1
              ));
          callback(sortType, [
            data[0] == 0 ? data[0] : data[0] - 1,
            data[1] == 0 ? data[1] : data[1] - 1,
          ]);
        } else {
          data[0] == this.leftData.length - 1
            ? ""
            : (this.leftData = this.swapItems(
                this.leftData,
                data[0],
                data[0] + 1
              ));
          data[1] == this.rightData.length - 1
            ? ""
            : (this.rightData = this.swapItems(
                this.rightData,
                data[1],
                data[1] + 1
              ));
          callback(sortType, [
            data[0] == this.leftData.length - 1 ? data[0] : data[0] + 1,
            data[1] == this.rightData.length - 1 ? data[1] : data[1] + 1,
          ]);
        }
      }
    },
    swapItems(arr, index1, index2) {
      arr[index1] = arr.splice(index2, 1, arr[index1])[0];
      return arr;
    },
  },
};
</script>
<style lang="less" scoped>
.container {
  width: 100%;
  display: flex;
  .left {
    width: 25%;
  }
  .right {
    /deep/ .el-table thead {
      color: #004ca7;
    }
  }
}

.img {
  width: 17px;
  height: 17px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.bk {
  /deep/ .el-input__inner {
    border-radius: 4px;
    border: 1px solid #004ca7;
  }
}
.zyjs {
  width: 30% !important;
  margin-left: 40px !important;
  /deep/ .el-input__inner {
    height: 70px !important;
    border-radius: 4px;
    border: 1px solid #004ca7;
  }
}
.el-input {
  width: 26%;
  display: flex;
  align-items: center;
    margin-left: 40px;
}
.my-form-item {
  height: 80px;
}
.el-date-editor {
  width: 38%;
}
.choose-ypr-container {
  width: 100%;
  margin: 0px auto;

  .choose-ypr-search-container {
    .el-input--prefix .el-input__inner {
      padding-left: 30px;
    }

    .el-input__inner {
      &::placeholder {
        color: #b8b8b8;
      }

      &::-webkit-input-placeholder {
        /* WebKit browsers 适配谷歌 */
        color: #b8b8b8;
      }

      &:-moz-placeholder {
        /* Mozilla Firefox 4 to 18 适配火狐 */
        color: #b8b8b8;
      }

      &::-moz-placeholder {
        /* Mozilla Firefox 19+ 适配火狐 */
        color: #b8b8b8;
      }

      &:-ms-input-placeholder {
        /* Internet Explorer 10+  适配ie*/
        color: #b8b8b8;
      }
    }

    display: flex;
    flex-direction: row;
    align-items: center;

    .title {
      font-size: 18px;
      font-family: Microsoft YaHei;
      font-weight: bold;
      line-height: 20px;
      color: #004ca7;
      margin-right: 5px;
    }

    .search-button {
      width: 77px;
      height: 28px;
      line-height: 28px;
      background: #f1f8fe;
      border: 1px solid #51aef6;
      border-radius: 6px;
      cursor: pointer;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;

      > span {
        font-size: 16px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #51aef6;
      }

      > img {
        width: 20px;
        height: 20px;
        margin-right: 4px;
      }
    }

    .button-list {
      display: flex;
      flex-direction: row;
      align-items: center;
      margin-left: 21px;

      .button-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 69px;
        height: 27px;
        line-height: 27px;
        border: 1px solid #004ca7;
        border-radius: 4px;
        margin-right: 10px;
        text-align: center;
        font-size: 14px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #004ca7;

        .del-icon {
          position: absolute;
          right: 0px;
          top: 0px;
          width: 12px;
          height: 12px;
          padding: 2px;
        }
      }
    }
  }

  .choose-ypr-container .choose-ypr-table-container .el-table__header th {
    padding: 0;
    height: 57px;
    background-color: #edf2f9;
    font-size: 16px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    line-height: 20px;
    color: #004ca7;
  }

  /deep/ .el-table .cell {
    color: #004ca7;
  }

  .choose-ypr-table-container {
    margin-top: 30px;

    .el-table td,
    .el-table th.is-leaf,
    .el-table--border,
    .el-table--group {
      border-color: #c7d7eb;
    }

    .el-table__header tr,
    .el-table__header th {
      padding: 0;
      height: 57px;
      background-color: #edf2f9;
      font-size: 16px;
      font-family: Microsoft YaHei;
      font-weight: bold;
      line-height: 20px;
      color: #004ca7;
    }

    .el-table__body tr,
    .el-table__body td {
      padding: 0;
      height: 51px;
    }

    .table-data {
      width: 100%;
      border: 0.8px solid #004ca7;
      border-radius: 9px;
      font-size: 14px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #004ca7;
    }
  }
}

.assessment-container {
  .el-dialog__body {
    height: 251px;
  }

  .el-dialog__footer {
    padding: 10px 20px 45px;
  }

  .el-checkbox__inner:hover {
    border-color: #004ca7;
  }

  .el-checkbox__inner {
    border: 1px solid #004ca7;
    border-radius: 0;
    height: 18px;
    width: 18px;
  }

  .el-checkbox__inner::after {
    height: 10px;
    left: 6px;
  }

  .el-checkbox__input.is-checked .el-checkbox__inner,
  .el-checkbox__input.is-indeterminate .el-checkbox__inner {
    background-color: #004ca7;
    border-color: #004ca7;
  }

  .el-checkbox__input.is-checked + .el-checkbox__label {
    color: #004ca7;
  }

  .el-checkbox.is-bordered.is-checked {
    border-color: #004ca7;
  }

  .el-checkbox__input.is-focus .el-checkbox__inner {
    border-color: #004ca7;
  }
}

.cz-save {
  box-sizing: border-box;
  line-height: 44px;
  border-radius: 4px;
  font-size: 12px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  text-align: center;
  margin-top: 70px;
  margin-left: 40px;
  display: flex;
  flex-direction: row;
  cursor: pointer;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.jf-save {
  display: flex;
  align-items: center;
  margin-left: 48px;
}

.fileClass {
  position: relative;
  cursor: pointer;

  .save {
    width: 120px;
    height: 50px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    color: #fff;
    background: #303133;
  }
}

.my-form-item-value {
  font-size: 16px;
  color: #004ca7;
  height: 100%;
  flex: 1;
  line-height: 60px;
  padding-left: 38px;
  display: flex;
  align-items: center;
}

.assessment-edit-plan-container {
  .assessment-design {
    .el-textarea__inner {
      resize: none;
      font-size: 16px;
      color: rgba(0, 76, 167, 1);
    }
  }
}
</style>
<style scoped lang="less">
.assessment-edit-plan-container {
  .assessment-design {
    padding: 25px 38px !important;
  }

  .button-group {
    margin-top: 50px;
    text-align: center;

    > div {
      display: inline-block;
      font-size: 18px;
      padding: 6px 22px;
      border-radius: 6px;

      &:nth-child(1) {
        color: #f3b815;
        border: 1px solid #f3b815;
        background: #fff6ef;
        margin-right: 139px;
      }

      &:nth-child(2) {
        color: #ff3819;
        border: 1px solid #ff3819;
        background: #ffefef;
      }
    }
  }
}
</style>
